From acd3e9dd6d268c914d75eb3ed303b2eb5283306e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timo=20R=C3=B6hling?= Date: Tue, 23 Sep 2025 09:45:40 +0200 Subject: [PATCH] Link against libatomic where needed --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 9cead89..43d53aa 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--version-script=$(CURDIR)/debian/libfyaml0.map +ifneq ($(filter armel m68k powerpc sh4,$(DEB_HOST_ARCH)),) +DEB_LDFLAGS_MAINT_APPEND += -latomic +endif # debian builds do not like testsuites to download stuff %: -- 2.39.5